import { getlink } from "@/api/getapi.js"
export let bath = {
    state: {
        arr: [],
    },
    mutations: {
        uparr(state, payload) {
            state.arr = payload
        }
    },
    actions: {
        bathlist(context, payload) {
            getlink(payload.url).then((ok) => {

                context.commit("uparr", ok.data)
            })

        }
    },

}